let fn=(...rest)=>{
    console.log(rest);
    let res=0;
    for(let val of rest){
        res+=val
    }
    return res
}
module.exports=fn;